import java.util.Scanner;

public class Jia { public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

        System.out.print("请输入身高（cm）：");
        int height = scanner.nextInt();
        System.out.print("请输入财富（百万）：");
        double wealth = scanner.nextDouble();
        System.out.print("是否帅（是/否）：");
        String handsomeInput = scanner.next();
        boolean handsome = handsomeInput.equals("是");

        if (height >= 180 && wealth >= 10 && handsome) {
            System.out.println("一定要嫁给他!!!");
        } else if (height >= 180 || wealth >= 10 || handsome) {
            System.out.println("嫁吧，比上不足，比下有余。");
        } else {
            System.out.println("不嫁！");
        }

    }
}
